package com.dormitory.management.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 楼栋表
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Building对象", description="楼栋表")
public class Building implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "楼栋id")
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @ApiModelProperty(value = "楼栋号")
    private String building;

    @ApiModelProperty(value = "对应生活区id")
    private Long livingId;

    @ApiModelProperty(value = "房间数")
    private Integer numRoom;

    @ApiModelProperty(value = "对应宿管姓名")
    private String housemaster;
}
